Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce sdk-test module to provide testing utilities #142

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

slinkydeveloper
Copy link
Contributor

Fix #13

This module provides an easy to use opinionated test toolkit to get started with testing your service with a Restate container. The container is automatically configured and deployed together with the services on the local JVM, respecting the lifecycle of JUnit 5 tests. We also provide easy to use parameter injection to send requests to services. See CounterTest for an example.

Copy link
Contributor

github-actions bot commented Nov 14, 2023

Test Results

  60 files  ±0    60 suites  ±0   8m 4s ⏱️ +35s
  87 tests ±0    86 ✔️ ±0  0 💤 ±0  1 ±0 
133 runs  ±0  132 ✔️ ±0  0 💤 ±0  1 ±0 

For more details on these failures, see this check.

Results for commit 1f76a75. ± Comparison against base commit f75ecf4.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Nov 14, 2023

Unit Test Results

  43 files  +1    43 suites  +1   4m 28s ⏱️ +19s
539 tests +2  517 ✔️ +2  22 💤 ±0  0 ±0 
539 runs  +1  517 ✔️ +1  22 💤 ±0  0 ±0 

Results for commit 1f76a75. ± Comparison against base commit f75ecf4.

♻️ This comment has been updated with latest results.

This module provides an easy to use opinionated test toolkit to get started with testing your service with a Restate container. The container is automatically configured and deployed together with the services on the local JVM, respecting the lifecycle of JUnit 5 tests. We also provide easy to use parameter injection to send requests to services. See CounterTest for an example.

Added new allowed licenses due to the testcontainers transitive dependencies.
@slinkydeveloper slinkydeveloper merged commit 7a226b3 into main Nov 14, 2023
3 of 5 checks passed
@slinkydeveloper slinkydeveloper deleted the issues/13 branch November 14, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit test utilities
1 participant